<div class="row-fluid marketing">
    <div class="span12">
        <h2><?php echo $title; ?> </h2>
<?php echo form_open_multipart(current_url());?>
      
      
        <?php echo form_fieldset('Link'); ?>
            <?php echo form_input($link);?>
         <?php form_fieldset_close(); ?>
        
        <?php echo form_fieldset('Category'); ?>       
            <?php echo  form_dropdown('category',$category, $cat_id);?>
         <?php form_fieldset_close(); ?>
        
         <?php echo form_fieldset('Title'); ?>       
            <?php echo form_input($title_page);?>
         <?php form_fieldset_close(); ?>
        
         <?php echo form_fieldset('Text'); ?>       
            <?php echo form_textarea($text);?>
        <?php form_fieldset_close(); ?>

<p><?php echo form_submit(array('name'=>'submit', 'class'=>'btn btn-large btn-primary'), 'Применить');?></p>
<?php echo form_close();?>

<?php getFormUpload(); ?>

    </div>
</div>